<!DOCTYPE html>
<html>
<head>
  <style type="text/css" media="screen">
    .wrapper {
      width: 280px;
      height: 280px;
      -webkit-box-sizing: border-box;
      padding: 40px;
      margin: 4px;
      display: inline-block;
    }
    
    .box {
      position: relative;
      width: 100px;
      height: 100px;
      display: inline-block;
      box-shadow: 0 0 23px black;
      -webkit-transform-origin: top left;
    }
  </style>
</head>
<body>
  <!-- You should not see any pixel cracks in the shadows -->
  <div class="wrapper">
    <div class="box" style="transform: scale(0.63)"></div>
  </div>

  <div class="wrapper">
    <div class="box" style="transform: scale(0.97)"></div>
  </div>
  <br>

  <div class="wrapper">
    <div class="box" style="transform: scale(1.234)"></div>
  </div>

  <div class="wrapper">
    <div class="box" style="transform: rotate(90deg) scale(1.377); -webkit-transform-origin: center;"></div>
  </div>

</body>
</html>
